﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - Haiyu Studio Novels</title>
    <environment names="Development">
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap-glyphicons-halflings.css" />
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap-glyphicons.css" />
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/font-awesome.css" />
        <link rel="stylesheet" href="~/lib/bootstrap/table/bootstrap-table.min.css" />
        <link rel="stylesheet" href="~/lib/jquery/css/jquery-confirm.css" />
        <link rel="stylesheet" href="~/lib/bootstrap/toast/toastr.css" />
        <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
    </environment>

    <environment names="Staging,Production">
        <link href="~/view-resources/_bundles/shared-layout.min.css" rel="stylesheet" asp-append-version="true" />
        <link href="~/css/site.min.css" rel="stylesheet" asp-append-version="true" />
    </environment>

    <link rel="stylesheet" href="~/Hsp.WebNovels.Web.styles.css" asp-append-version="true" />

    <style type="text/css">
        a.navbar-brand {
            background-color: transparent;
            padding-bottom: 0 !important;
            padding-top: 0 !important;
            box-shadow: none;
        }

            a.navbar-brand img {
                /*             width: 36px;
                                        height: 36px;*/
                padding-bottom: 0 !important;
                padding-top: 0 !important;
                margin-bottom: 0 !important;
                margin-top: 0 !important;
            }

            a.navbar-brand span {
                font-size: 1rem;
                padding-left: 5px;
                border: 0px solid #fff;
            }
    </style>

</head>
<body>
    <header>
        <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
            <div class="container-fluid">
                <a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">
                    <img class="mb-4" src="~/img/logo.png" alt="">
                    <span>Haiyu Studio Novels</span>
                </a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
                        aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
                    <ul class="navbar-nav flex-grow-1">
                        <li class="nav-item">
                            <a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link text-dark" asp-area="" asp-controller="Novel" asp-action="Index">Novel</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link text-dark" asp-area="" asp-controller="Chapter" asp-action="Index">Chapter</a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
    </header>
    <div class="container">
        <main role="main" class="pb-3">
            @RenderBody()
        </main>
    </div>

@*    <footer class="border-top footer text-muted">
        <div class="container">
            &copy; 2023 - Hsp.WebNovels.Web - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
        </div>
    </footer>*@
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <environment names="Development">
        <script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
        <script src="~/lib/bootstrap/table/bootstrap-table.min.js"></script>
        <script src="~/lib/bootstrap/table/bootstrap-table-zh-CN.min.js"></script>
        <script src="~/lib/jquery/dist/jquery-confirm.js"></script>
        <script src="~/lib/bootstrap/toast/toastr.min.js"></script>
        <script src="~/js/site.js" asp-append-version="true"></script>
        <script src="~/js/hsp.modal.js"></script>
    </environment>

    <environment names="Staging,Production">
        <script src="~/view-resources/_bundles/shared-layout.min.js" asp-append-version="true"></script>
    </environment>

    @await RenderSectionAsync("Scripts", required: false)
</body>
</html>
